
package cn.com.libertymutual.sp.webService.policy;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.5.2
 * 2014-09-04T11:16:26.656+08:00
 * Generated source version: 2.5.2
 * 
 */
public final class PolicyDetailInquiryService_PolicyDetailInquiryServicePort_Client {

    private static final QName SERVICE_NAME = new QName("http://prpall.liberty.com/all/cb/policyDetailInquiry/intf", "PolicyDetailInquiryService");

    private PolicyDetailInquiryService_PolicyDetailInquiryServicePort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = PolicyDetailInquiryService_Service.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        PolicyDetailInquiryService_Service ss = new PolicyDetailInquiryService_Service(wsdlURL, SERVICE_NAME);
        PolicyDetailInquiryService port = ss.getPolicyDetailInquiryServicePort();  
        
        {
        System.out.println("Invoking policyDetailInquiry...");
        PolicyDetailInquiryRequestDto _policyDetailInquiry_policyDetailInquiryRequestDto = null;
       PolicyDetailInquiryResponseDto _policyDetailInquiry__return = port.policyDetailInquiry(_policyDetailInquiry_policyDetailInquiryRequestDto);
        System.out.println("policyDetailInquiry.result=" + _policyDetailInquiry__return);


        }

        System.exit(0);
    }

}
